package com.feihao.zhou.dmeo04ThreadPrority;

public class TestDemo {
    public static void main(String[] args) {
        MyThread myThread1 = new MyThread("t1");
        MyThread myThread2 = new MyThread("t2");

        //设置优先级
        /*myThread1.setPriority(1);
        myThread2.setPriority(10);*/

        myThread1.start();
        myThread2.start();
    }
}
